package com.ruoyi.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.student.domain.StudentBaseInfo;
import com.ruoyi.student.domain.XsXsjbsj;
import com.ruoyi.student.domain.vo.SelectListVo;
import com.ruoyi.student.domain.vo.StudentEducationalLocalListSearchVo;

import java.text.ParseException;
import java.util.List;

public interface IStudentEducationalLocalService {


    /**
     * 清空本地库
     */
    void deleteAll();


    /**
     * 插入
     *
     * @param xsXsjbsj
     * @return
     */
    int insert(XsXsjbsj xsXsjbsj);


    /**
     * 清洗教务数据
     */
    void cleanJxData();


    /**
     * 同步学生姓名
     */
    void synStudentName();


    /**
     * 获取学籍变动学生信息
     *
     * @return
     */
    public List<XsXsjbsj> selectChangeList();


    /**
     * 筛选出需要新增到学生库的列表
     *
     * @return
     */
    //public List<XsXsjbsj> selectNeedAddStudentList();


    /**
     * 根据xsXsjbsj转换为StudentBaseInfo
     * @param xsXsjbsj
     * @return
     */
    //public StudentBaseInfo convertToStudentBaseInfo(XsXsjbsj xsXsjbsj) throws ParseException;

    /**
     * 根据xsXsjbsj转换为StudentSchoolInfo
     * @param xsXsjbsj
     * @return
     */
    //public StudentSchoolInfo convertToStudentSchoolInfo(XsXsjbsj xsXsjbsj) throws ParseException;


    /**
     * 获取本地教务库列表的数量
     * @param req
     * @return
     */
//    Long selectStudentEducationalLocalCount(StudentEducationalLocalListSearchVo req);


    /**
     * 获取本地教务库列表
     *
     * @param vo
     * @return
     */
    //List<XsXsjbsj> selectStudentEducationalLocalList(StudentEducationalLocalListSearchVo vo);


    /**
     * 聚合数据中的学籍
     * @return
     */
    //List<SelectListVo> selectAggreStudentStudy();
}
